<template>
  <div class="box">
    <el-tabs class="box_tabs" v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="配网营销" name="contractList">
        <contractList v-if="activeName == 'contractList'"></contractList>
      </el-tab-pane>
      <el-tab-pane disabled label="售电系统" name="share">
        <!-- <threePhase v-if="activeName == 'share'"></threePhase> -->
      </el-tab-pane>
      <el-tab-pane disabled label="运维检修" name="WaterMeter"> </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import contractList from "./contractList";
export default {
  components: {
    contractList,
  },
  data() {
    return {
      activeName: "contractList",
    };
  },
  created() {},
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>

<style scoped lang='scss'>
.box {
  padding-left: 6px;
  margin-left: 6px;
  /deep/.el-tabs__header {
    margin-left: 30px;
  }

  .box_tabs {
    background-color: #fff;
  }
}
</style>